package com.shop.dao;

import com.shop.dto.MemberLoginDto;
import com.shop.entity.MemberEntity;
import com.shop.entity.OrderMasterEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * 
 *
 * @author wzby
 * @date 2022-12-02 13:24:15
 */
@Mapper
public interface OrderMasterDao {

    @Insert("insert into order_master (id,memberId,addressId,phone,totalPrice,status,sourceFrom,createTime)" +
            " values (#{id},#{memberId},#{addressId},#{phone},#{totalPrice},#{status},#{sourceFrom},#{createTime})")
    int insert(OrderMasterEntity orderMaster);

}
